package com.rongc.client.freight.business.carrier.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.base.request.result.NullResult;


/*
*  司机获取车辆接口
* */

public class ConveyancePubApi extends AbsRequest<ConveyancePubApi.ConveyancePubParams, NullResult> {

    public ConveyancePubApi(ConveyancePubParams feedbackParams, Listener<NullResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getPubConveyanceUrl(), feedbackParams, listener, errorListener, NullResult.class);
    }

    public static class ConveyancePubParams extends BaseParams {
        public ConveyancePubParams(String info) {
            put("truckInfo", info);

        }
    }


}
